﻿using AnlianCommon.Common.DTO;
using MediatR;
using System.ComponentModel.DataAnnotations;
namespace SheepCommon.API.SheepCommands.SheepDiees
{
    public class SheepDieCreateCommand:IRequest<Result>
    {

        /// <summary>
        /// 死亡日期
        /// </summary>
        public DateTime? DieDate { get; set; }
        /// <summary>
        /// 羊只耳号
        /// </summary>
        public string? SheepNumber { get; set; }
        /// <summary>
        /// 死亡原因(1.腹泻 2.肺炎 3.产前瘫 4.产后瘫 5.酸中毒 6.应激猝死 7.梭卷 8.尿结石 9.发热 10.脱肛 11.黄疸 12.猝死 )
        /// </summary>
        public int? DieReason { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string? SheepBreed { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool? SheepSex { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public string? ReproductiveState { get; set; }
        /// <summary>
        /// 死亡月龄
        /// </summary>
        public int? DieMonth { get; set; }
        /// <summary>
        /// 死亡日龄
        /// </summary>
        public int? DieDay { get; set; }
        /// <summary>
        /// 死亡栋舍
        /// </summary>
        public string? DieHouse { get; set; }
        /// <summary>
        /// 死亡栏位
        /// </summary>
        public string? DieField { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? SheepBirthday { get; set; }
    }
}
